package com.parking.order.model.param;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 支付宝退单参数
 * */
@Data
public class AlipayRefundParam {
    /**
     * 订单编号
     * */
    String orderId;
    /**
     * 退单理由
     * */
    String refundReason;
    /**
     * 退单金额
     * */
    BigDecimal refundAmount;

    /**
     * 构造方法
     * orderId      订单编号
     * refundReason 退单理由
     * refundAmount 退单金额
     * */
    public AlipayRefundParam(String orderId, String refundReason, BigDecimal refundAmount) {
        this.orderId = orderId;
        this.refundReason = refundReason;
        this.refundAmount = refundAmount;
    }
}
